home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software of the Month Club 1998 May
/
Software of the Month Club 1998 May.iso
/
pc
/
dos
/
child
/
theheart
/
mainmenu.txt
< prev
next >
Wrap
Text File
|
1998-03-03
|
10KB
|
296 lines
\RESET [S:0,0,5 B:0 F:100 C:16 FO:11 A:1 N:1 X:0 E:0]\*
\ON KEY 4096 JUMP QUIT_IT
\READ 081104PW.FON\WAIT LIMIT -1
\NAME #1030=VERSION_NMBR\MOVE "970219" TO VERSION_NMBR
\NAME #13010=INSTALL_TO_DRIVE
\NAME #13020=INSTALL_FROM_DRIVE
\NAME #13030=TOGGLE\MOVE 1 TO TOGGLE
\LINE 0,0,320,180,1,BF
\LINE 5,5,315,175,2,BF
\LINE 10,10,310,175,0,BF\MOVE 0 TO B
\LOCATE 20,10\WIDTH 280 DOTS\OVER 0,A,3
This program will install software
from: THE ANIMATED SOFTWARE COMPANY
on your hard drive. Please press
<ENTER> for the next screen...
\MOVE 0 TO B\READ ASCOLO04.PIC\SHOW 0,180,16
\X FIRSTLOOP\ROUNDS 1 SPEED ONE_SECOND/30
\SHOW 70,65,1,5\IF TOGGLE=1\SHOW 0,180,17\ELSE\SHOW 0,180,16\ENDIF\MULTIPLY TOGGLE BY -1
\SHOW 70,65,6,10\IF TOGGLE=1\SHOW 0,180,17\ELSE\SHOW 0,180,16\ENDIF\MULTIPLY TOGGLE BY -1
\SHOW 70,65,11,15\IF TOGGLE=1\SHOW 0,180,17\ELSE\SHOW 0,180,16\ENDIF\MULTIPLY TOGGLE BY -1
\IF B=7181\JUMP AFTERFIRST\ENDIF
\IF B=0\JUMP FIRSTLOOP\ENDIF
\END
\X AFTERFIRST
\LOCATE 20,10\WIDTH 280 DOTS\OVER 0,A,1
You can install the software on any
drive. This install program will make
a new directory on that drive called
"\P11" at the root level if the directory
does not exist. All files will be placed
in the \P11 directory and subdirectories.
\"
\LOCATE 20,87\OVERLAY 0,A,2
Do you want to install
\"THE HEART: THE ENGINE OF LIFE
animated healthy heart program now?
\"
\LOCATE 20,131\OVERLAY 0,A,1
Press <ENTER> to proceed to the next
question, or press <ANY OTHER KEY> to
stop the installation now.
\"
\CALL WAITRET
\IF B<>7181\JUMP ENDINSTALL\ENDIF
\X NEWTO\ON KEY 18688
\LINE 10,10,310,175,0,BF\MOVE 0 TO B
\LOCATE 20,10\WIDTH 280 DOTS\OVER 0,A,1
\"
What drive do you want to install
the program on?
\"
Drive letter must be "C" through "P".
\"
\"
\"
\"
\"
\"
\"
<ALT-Q>: Quit and not install anything.
\"
\"
\CURSOR 20,15\ROUNDS -1 SPEED ONE_SECOND/10\MARQUE 150,116,175,130,3\QUESTION #2,1
\IF #2="C"\MOVE "C" TO INSTALL_TO_DRIVE\ELSE
\IF #2="D"\MOVE "D" TO INSTALL_TO_DRIVE\ELSE
\IF #2="E"\MOVE "E" TO INSTALL_TO_DRIVE\ELSE
\IF #2="F"\MOVE "F" TO INSTALL_TO_DRIVE\ELSE
\IF #2="G"\MOVE "G" TO INSTALL_TO_DRIVE\ELSE
\IF #2="H"\MOVE "H" TO INSTALL_TO_DRIVE\ELSE
\IF #2="I"\MOVE "I" TO INSTALL_TO_DRIVE\ELSE
\IF #2="J"\MOVE "J" TO INSTALL_TO_DRIVE\ELSE
\IF #2="K"\MOVE "K" TO INSTALL_TO_DRIVE\ELSE
\IF #2="L"\MOVE "L" TO INSTALL_TO_DRIVE\ELSE
\IF #2="M"\MOVE "M" TO INSTALL_TO_DRIVE\ELSE
\IF #2="N"\MOVE "N" TO INSTALL_TO_DRIVE\ELSE
\IF #2="O"\MOVE "O" TO INSTALL_TO_DRIVE\ELSE
\IF #2="P"\MOVE "P" TO INSTALL_TO_DRIVE\ELSE
\LOCATE 20,110\OVERLAY 0,A,2
LETTER NOT VALID!
PLEASE CHOOSE A DIFFERENT DESTINATION!
TRY AGAIN!
\"
\"
\WAIT NOW ONE_SECOND*10
\LINE 10,10,310,175,0,BF
\JUMP NEWTO
\ENDIF
\X NEWFROM
\LOCATE 20,11\WIDTH 280 DOTS\OVER 0,A,1
We will create these directories:
\"
\"
\"
\"
\"
\"
\"
What drive are you installing from?
(Must be "A" through "P")
\"
\"
<ALT-Q>: Exit this program and not install anything.
<PG-UP>: Back up to change "to" drive.
\OVERLAY 0,A,1
\LOCATE 20,20\DISPLAY #2,':\P11'
\*LOCATE 20,30\DISPLAY #2,':\P11\SHEPHERD'
\LOCATE 20,40\DISPLAY #2,':\P11\HEART'
\LOCATE 20,50\DISPLAY #2,':\P11\HEART\CGAHEART'
\LOCATE 20,60\DISPLAY #2,':\P11\HEART\MCGAHART'
\LOCATE 20,70\DISPLAY #2,':\P11\HEART\SVGAHART'
\LOCATE 20,80\DISPLAY #2,':\P11\HEART\HTML'
\LOCATE 20,90\DISPLAY #2,':\P11\HEART\HTML\HRTGUIDE'
\CURSOR 20,16\ROUNDS -1 SPEED ONE_SECOND/10
\ON KEY 18688 JUMP NEWTO
\MARQUE 150,126,175,139,3\QUESTION #3,1
\ON KEY 18688
\IF #3="A"\MOVE "A" TO INSTALL_FROM_DRIVE\ELSE
\IF #3="B"\MOVE "B" TO INSTALL_FROM_DRIVE\ELSE
\IF #3="C"\MOVE "C" TO INSTALL_FROM_DRIVE\ELSE
\IF #3="D"\MOVE "D" TO INSTALL_FROM_DRIVE\ELSE
\IF #3="E"\MOVE "E" TO INSTALL_FROM_DRIVE\ELSE
\IF #3="F"\MOVE "F" TO INSTALL_FROM_DRIVE\ELSE
\IF #3="G"\MOVE "G" TO INSTALL_FROM_DRIVE\ELSE
\IF #3="H"\MOVE "H" TO INSTALL_FROM_DRIVE\ELSE
\IF #3="I"\MOVE "I" TO INSTALL_FROM_DRIVE\ELSE
\IF #3="J"\MOVE "J" TO INSTALL_FROM_DRIVE\ELSE
\IF #3="K"\MOVE "K" TO INSTALL_FROM_DRIVE\ELSE
\IF #3="L"\MOVE "L" TO INSTALL_FROM_DRIVE\ELSE
\IF #3="M"\MOVE "M" TO INSTALL_FROM_DRIVE\ELSE
\IF #3="N"\MOVE "N" TO INSTALL_FROM_DRIVE\ELSE
\IF #3="O"\MOVE "O" TO INSTALL_FROM_DRIVE\ELSE
\IF #3="P"\MOVE "P" TO INSTALL_FROM_DRIVE\ELSE
\LOCATE 20,110\OVERLAY 0,A,2
DRIVE LETTER NOT VALID!
PLEASE CHOOSE A DIFFERENT SOURCE LOCATION!
TRY AGAIN!
\"
\"
\WAIT NOW ONE_SECOND*10
\LINE 10,10,310,175,0,BF
\JUMP NEWFROM
\ENDIF
\*BUILD #3303=INSTALL_FROM_DRIVE,':PKUNZIP.EXE ',INSTALL_FROM_DRIVE,':SHEPHERD.ZIP ',INSTALL_TO_DRIVE,':\ -d'
\BUILD #3304=INSTALL_FROM_DRIVE,':PKUNZIP.EXE ',INSTALL_FROM_DRIVE,':THEHEART.ZIP ',INSTALL_TO_DRIVE,':\ -d'
\BUILD #3305='COPY ',INSTALL_TO_DRIVE,':\P11\HEART\P11RUN.EXE ',INSTALL_TO_DRIVE,':\P11\HEART\P11REXE.BAK'
\BUILD #3306='COPY ',INSTALL_FROM_DRIVE,':P11RUN.EXE ',INSTALL_TO_DRIVE,':\P11\HEART\P11RUN.EXE /V'
\LOCATE 20,11\WIDTH 280 DOTS\OVER 0,A,1
All files will be installed in the
following directories:
\"
\"
\"
\"
\"
\"
\"
\"
\LOCATE 20,30\DISPLAY #2,':\P11'
\*LOCATE 20,40\DISPLAY #2,':\P11\SHEPHERD'
\LOCATE 20,50\DISPLAY #2,':\P11\HEART'
\LOCATE 20,60\DISPLAY #2,':\P11\HEART\CGAHEART'
\LOCATE 20,70\DISPLAY #2,':\P11\HEART\MCGAHART'
\LOCATE 20,80\DISPLAY #2,':\P11\HEART\SVGAHART'
\LOCATE 20,90\DISPLAY #2,':\P11\HEART\HTML'
\LOCATE 20,100\DISPLAY #2,':\P11\HEART\HTML\HRTGUIDE'
\LINE 10,110,310,180,0,BF
\LOCATE 20,110\OVER 0,A,1
Files in the above destination
directories will be overwritten.
\"
<ALT-Q>: Exit this program now and
not install anything.
<PG-UP>: Back up to change "from" drive.
\LOCATE 20,132\DISPLAY 'Installing from ',
\CALL CONVERT_FROM_NMBR
\IF #4<>CURRENT_DRIVE
\DISPLAY 'the ',#3,': drive.'
\ELSE
\IF CURRENT_PATH='\'
\DISPLAY #3,':\'
\ELSE
\DISPLAY #3,':\',CURRENT_PATH,'\'
\ENDIF
\ON KEY 18688 JUMP NEWFROM
\WAIT NOW -1\ON KEY 18688
\IF B<>7181\JUMP ENDINSTALL\ENDIF
\LOCATE 20,11\WIDTH 280 DOTS\OVER 0,A,1
If this is a re-installation you will get
an "Overwrite?(y)" message for each file.
To complete the re-installation you will
need to answer "y" (yes) each time.
\"
\"
\"
\"
\"
\"
\"
\"
Press <ENTER> to begin the actual
installation (file copying) process,
or press <ANY KEY> to exit now.
\LOCATE 20,60\DISPLAY #2,':\P11'
\*LOCATE 20,70\DISPLAY #2,':\P11\SHEPHERD'
\LOCATE 20,80\DISPLAY #2,':\P11\HEART'
\LOCATE 20,90\DISPLAY #2,':\P11\HEART\CGAHEART'
\LOCATE 20,100\DISPLAY #2,':\P11\HEART\MCGAHART'
\LOCATE 20,110\DISPLAY #2,':\P11\HEART\SVGAHART'
\LOCATE 20,120\DISPLAY #2,':\P11\HEART\HTML'
\LOCATE 20,130\DISPLAY #2,':\P11\HEART\HTML\HRTGUIDE'
\CALL WAITRET
\IF B<>7181\JUMP ENDINSTALL\ENDIF
\SCREEN 0,0,6
\*WAIT NOW ONE_SECOND/4\CLEAR SCREEN\CURSOR 0,0\EXEC DOS>(#3303)
\WAIT NOW ONE_SECOND/4\CLEAR SCREEN\CURSOR 0,0\EXEC DOS>(#3304)
\WAIT NOW ONE_SECOND/4\CLEAR SCREEN\CURSOR 0,0\EXEC DOS>(#3305)
\WAIT NOW ONE_SECOND/4\CLEAR SCREEN\CURSOR 0,0\EXEC DOS>(#3306)
\SCREEN 0,0,4\READ 081104PW.FON
\MOVE 0 TO B
\LOCATE 20,10\WIDTH 280 DOTS\OVER 1,A,1 \*note time delay to let "y" repeat keys get used up...
Installation completed!
Press <ANY KEY> to run
THE HEART: THE ENGINE OF LIFE
\"
To run again, run HEART.BAT
from the following directory:
\LOCATE 40,85\DISPLAY #2,':\P11\HEART\'
\LOCATE 20,95
\"
See our README file for instructions on creating a Windows Shortcut to start the program, or if you have any problems using the program.
\"
Use <Alt-Q> now to exit to DOS without running the program.
\* next we wait for you to turn off the "y" key
\IF B=5497 OR B=5465\JUMP WAIT_YOFF\ENDIF
\WAIT NOW -1
\X NOW_RUNIT
\CALL CONVERT_TO_NMBR
\BUILD #3305='\P11\HEART\'
\READ K:/(#3305)/SVGAMODE.TXT
\JUMP OUTINSTALL
\X WAIT_YOFF
\IF B=5497 OR B=5465\JUMP WAIT_YOFF\ENDIF
\JUMP NOW_RUNIT
\END
\X CONVERT_TO_NMBR
\IF INSTALL_TO_DRIVE="A"\MOVE 1 TO K\ELSE
\IF INSTALL_TO_DRIVE="B"\MOVE 2 TO K\ELSE
\IF INSTALL_TO_DRIVE="C"\MOVE 3 TO K\ELSE
\IF INSTALL_TO_DRIVE="D"\MOVE 4 TO K\ELSE
\IF INSTALL_TO_DRIVE="E"\MOVE 5 TO K\ELSE
\IF INSTALL_TO_DRIVE="F"\MOVE 6 TO K\ELSE
\IF INSTALL_TO_DRIVE="G"\MOVE 7 TO K\ELSE
\IF INSTALL_TO_DRIVE="H"\MOVE 8 TO K\ELSE
\IF INSTALL_TO_DRIVE="I"\MOVE 9 TO K\ELSE
\IF INSTALL_TO_DRIVE="J"\MOVE 10 TO K\ELSE
\IF INSTALL_TO_DRIVE="K"\MOVE 11 TO K\ELSE
\IF INSTALL_TO_DRIVE="L"\MOVE 12 TO K\ELSE
\IF INSTALL_TO_DRIVE="M"\MOVE 13 TO K\ELSE
\IF INSTALL_TO_DRIVE="M"\MOVE 14 TO K\ELSE
\IF INSTALL_TO_DRIVE="O"\MOVE 15 TO K\ELSE
\IF INSTALL_TO_DRIVE="P"\MOVE 16 TO K\ELSE
\MOVE 17 TO K\ENDIF
\RETURN
\X CONVERT_FROM_NMBR
\IF INSTALL_FROM_DRIVE="A"\MOVE '1' TO #4\ELSE
\IF INSTALL_FROM_DRIVE="B"\MOVE '2' TO #4\ELSE
\IF INSTALL_FROM_DRIVE="C"\MOVE '3' TO #4\ELSE
\IF INSTALL_FROM_DRIVE="D"\MOVE '4' TO #4\ELSE
\IF INSTALL_FROM_DRIVE="E"\MOVE '5' TO #4\ELSE
\IF INSTALL_FROM_DRIVE="F"\MOVE '6' TO #4\ELSE
\IF INSTALL_FROM_DRIVE="G"\MOVE '7' TO #4\ELSE
\IF INSTALL_FROM_DRIVE="H"\MOVE '8' TO #4\ELSE
\IF INSTALL_FROM_DRIVE="I"\MOVE '9' TO #4\ELSE
\IF INSTALL_FROM_DRIVE="J"\MOVE '10' TO #4\ELSE
\IF INSTALL_FROM_DRIVE="K"\MOVE '11' TO #4\ELSE
\IF INSTALL_FROM_DRIVE="L"\MOVE '12' TO #4\ELSE
\IF INSTALL_FROM_DRIVE="M"\MOVE '13' TO #4\ELSE
\IF INSTALL_FROM_DRIVE="M"\MOVE '14' TO #4\ELSE
\IF INSTALL_FROM_DRIVE="O"\MOVE '15' TO #4\ELSE
\IF INSTALL_FROM_DRIVE="P"\MOVE '16' TO #4\ELSE
\MOVE '17' TO #4\ENDIF
\RETURN
\X ENDINSTALL
\CLEAR SCREEN
\LOCATE 20,20\WIDTH 280 DOTS\OVER 0,A,1
Installation stopped!
\X OUTINSTALL
Press ANY KEY to exit the install program.
\WAIT NOW -1
\X QUIT_IT\END
\X WAITRET\MOVE 0 TO B
\X RETLOOP\IF TOGGLE=1\SHOW 0,180,17\ELSE\SHOW 0,180,16\ENDIF\MULTIPLY TOGGLE BY -1
\IF B=0\WAIT NOW ONE_SECOND/5\JUMP RETLOOP\ENDIF\RETURN
\END OF TEXT